package com.vcc.data.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.vcc.data.base.entity.BaseEntity;
import lombok.*;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
@Setter
@Getter
@Table(value = "vcc_card_group")
@AllArgsConstructor
@NoArgsConstructor
public class CardGroup extends BaseEntity implements Serializable {

    @Column(comment = "用户ID",value = "user_id")
    private Long userId;

    @Column(comment = "分组名称",value = "name")
    private String name;

    @Column(comment = "分组描述",value = "description")
    private String description;

    @Column(comment = "排序",value = "sort")
    private Integer sort;

    @Column(comment = "状态，0启用，1禁用",value = "status")
    private Integer status;

    @Column(comment = "是否默认分组，true是，false否",value = "has_default")
    private Boolean hasDefault;

}
